package com.g5kj.coupon.ssm.service;

import com.g5kj.coupon.ssm.common.Result;
import com.g5kj.coupon.ssm.model.ArticleEntity;

import java.util.List;

/**
 * Created by apple on 2017/5/17.
 */
public interface ArticleService {

    Result addArticle(ArticleEntity entity);
    Result update(ArticleEntity entity);

    int delete(List<Integer> id);


    List<ArticleEntity> list(
            int page,String startTime,String lastTime,
            String keyValue,String order,int sort);
}
